/*
*
* WbVoucherExample.java
* Copyright(C) 2017-2020 fendo公司
* @date 2019-08-16
*/
package com.mass.waybill.voucher.model;

import java.util.ArrayList;
import java.util.List;

public class WbVoucherExample {
    /**
     * wb_voucher
     */
    protected String orderByClause;

    /**
     * wb_voucher
     */
    protected boolean distinct;

    /**
     * wb_voucher
     */
    protected List<Criteria> oredCriteria;

    /**
     * wb_voucher
     */
    protected Integer pageIndex;

    /**
     * wb_voucher
     */
    protected Integer pageSize;

    /**
     *
     * @mbg.generated
     */
    public WbVoucherExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     *
     * @mbg.generated
     */
    public void setPageIndex(Integer pageIndex) {
        this.pageIndex=pageIndex;
    }

    /**
     *
     * @mbg.generated
     */
    public Integer getPageIndex() {
        return pageIndex;
    }

    /**
     *
     * @mbg.generated
     */
    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
    }

    /**
     *
     * @mbg.generated
     */
    public Integer getPageSize() {
        return pageSize;
    }

    /**
     * wb_voucher null
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("v.id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("v.id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("v.id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("v.id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("v.id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("v.id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("v.id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("v.id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("v.id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("v.id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("v.id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("v.id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberIsNull() {
            addCriterion("v.settlement_number is null");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberIsNotNull() {
            addCriterion("v.settlement_number is not null");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberEqualTo(String value) {
            addCriterion("v.settlement_number =", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberNotEqualTo(String value) {
            addCriterion("v.settlement_number <>", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberGreaterThan(String value) {
            addCriterion("v.settlement_number >", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberGreaterThanOrEqualTo(String value) {
            addCriterion("v.settlement_number >=", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberLessThan(String value) {
            addCriterion("v.settlement_number <", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberLessThanOrEqualTo(String value) {
            addCriterion("v.settlement_number <=", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberLike(String value) {
            addCriterion("v.settlement_number like", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberNotLike(String value) {
            addCriterion("v.settlement_number not like", value, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberIn(List<String> values) {
            addCriterion("v.settlement_number in", values, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberNotIn(List<String> values) {
            addCriterion("v.settlement_number not in", values, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberBetween(String value1, String value2) {
            addCriterion("v.settlement_number between", value1, value2, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andSettlementNumberNotBetween(String value1, String value2) {
            addCriterion("v.settlement_number not between", value1, value2, "settlementNumber");
            return (Criteria) this;
        }

        public Criteria andDateReceiptIsNull() {
            addCriterion("v.date_receipt is null");
            return (Criteria) this;
        }

        public Criteria andDateReceiptIsNotNull() {
            addCriterion("v.date_receipt is not null");
            return (Criteria) this;
        }

        public Criteria andDateReceiptEqualTo(String value) {
            addCriterion("v.date_receipt =", value, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptNotEqualTo(String value) {
            addCriterion("v.date_receipt <>", value, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptGreaterThan(String value) {
            addCriterion("v.date_receipt >", value, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptGreaterThanOrEqualTo(String value) {
            addCriterion("v.date_receipt >=", value, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptLessThan(String value) {
            addCriterion("v.date_receipt <", value, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptLessThanOrEqualTo(String value) {
            addCriterion("v.date_receipt <=", value, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptLike(String value) {
            addCriterion("v.date_receipt like", value, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptNotLike(String value) {
            addCriterion("v.date_receipt not like", value, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptIn(List<String> values) {
            addCriterion("v.date_receipt in", values, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptNotIn(List<String> values) {
            addCriterion("v.date_receipt not in", values, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptBetween(String value1, String value2) {
            addCriterion("v.date_receipt between", value1, value2, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andDateReceiptNotBetween(String value1, String value2) {
            addCriterion("v.date_receipt not between", value1, value2, "dateReceipt");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountIsNull() {
            addCriterion("v.payment_account is null");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountIsNotNull() {
            addCriterion("v.payment_account is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountEqualTo(String value) {
            addCriterion("v.payment_account =", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountNotEqualTo(String value) {
            addCriterion("v.payment_account <>", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountGreaterThan(String value) {
            addCriterion("v.payment_account >", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountGreaterThanOrEqualTo(String value) {
            addCriterion("v.payment_account >=", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountLessThan(String value) {
            addCriterion("v.payment_account <", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountLessThanOrEqualTo(String value) {
            addCriterion("v.payment_account <=", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountLike(String value) {
            addCriterion("v.payment_account like", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountNotLike(String value) {
            addCriterion("v.payment_account not like", value, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountIn(List<String> values) {
            addCriterion("v.payment_account in", values, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountNotIn(List<String> values) {
            addCriterion("v.payment_account not in", values, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountBetween(String value1, String value2) {
            addCriterion("v.payment_account between", value1, value2, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andPaymentAccountNotBetween(String value1, String value2) {
            addCriterion("v.payment_account not between", value1, value2, "paymentAccount");
            return (Criteria) this;
        }

        public Criteria andTypePayerIsNull() {
            addCriterion("v.type_payer is null");
            return (Criteria) this;
        }

        public Criteria andTypePayerIsNotNull() {
            addCriterion("v.type_payer is not null");
            return (Criteria) this;
        }

        public Criteria andTypePayerEqualTo(Integer value) {
            addCriterion("v.type_payer =", value, "typePayer");
            return (Criteria) this;
        }

        public Criteria andTypePayerNotEqualTo(Integer value) {
            addCriterion("v.type_payer <>", value, "typePayer");
            return (Criteria) this;
        }

        public Criteria andTypePayerGreaterThan(Integer value) {
            addCriterion("v.type_payer >", value, "typePayer");
            return (Criteria) this;
        }

        public Criteria andTypePayerGreaterThanOrEqualTo(Integer value) {
            addCriterion("type_payer >=", value, "typePayer");
            return (Criteria) this;
        }

        public Criteria andTypePayerLessThan(Integer value) {
            addCriterion("v.type_payer <", value, "typePayer");
            return (Criteria) this;
        }

        public Criteria andTypePayerLessThanOrEqualTo(Integer value) {
            addCriterion("v.type_payer <=", value, "typePayer");
            return (Criteria) this;
        }

        public Criteria andTypePayerIn(List<Integer> values) {
            addCriterion("v.type_payer in", values, "typePayer");
            return (Criteria) this;
        }

        public Criteria andTypePayerNotIn(List<Integer> values) {
            addCriterion("v.type_payer not in", values, "typePayer");
            return (Criteria) this;
        }

        public Criteria andTypePayerBetween(Integer value1, Integer value2) {
            addCriterion("v.type_payer between", value1, value2, "typePayer");
            return (Criteria) this;
        }

        public Criteria andTypePayerNotBetween(Integer value1, Integer value2) {
            addCriterion("v.type_payer not between", value1, value2, "typePayer");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitIsNull() {
            addCriterion("v.payment_unit is null");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitIsNotNull() {
            addCriterion("v.payment_unit is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitEqualTo(String value) {
            addCriterion("v.payment_unit =", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitNotEqualTo(String value) {
            addCriterion("v.payment_unit <>", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitGreaterThan(String value) {
            addCriterion("v.payment_unit >", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitGreaterThanOrEqualTo(String value) {
            addCriterion("v.payment_unit >=", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitLessThan(String value) {
            addCriterion("v.payment_unit <", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitLessThanOrEqualTo(String value) {
            addCriterion("v.payment_unit <=", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitLike(String value) {
            addCriterion("v.payment_unit like", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitNotLike(String value) {
            addCriterion("v.payment_unit not like", value, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitIn(List<String> values) {
            addCriterion("v.payment_unit in", values, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitNotIn(List<String> values) {
            addCriterion("v.payment_unit not in", values, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitBetween(String value1, String value2) {
            addCriterion("v.payment_unit between", value1, value2, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andPaymentUnitNotBetween(String value1, String value2) {
            addCriterion("v.payment_unit not between", value1, value2, "paymentUnit");
            return (Criteria) this;
        }

        public Criteria andDraweeIsNull() {
            addCriterion("v.drawee is null");
            return (Criteria) this;
        }

        public Criteria andDraweeIsNotNull() {
            addCriterion("v.drawee is not null");
            return (Criteria) this;
        }

        public Criteria andDraweeEqualTo(String value) {
            addCriterion("v.drawee =", value, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeNotEqualTo(String value) {
            addCriterion("v.drawee <>", value, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeGreaterThan(String value) {
            addCriterion("v.drawee >", value, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeGreaterThanOrEqualTo(String value) {
            addCriterion("v.drawee >=", value, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeLessThan(String value) {
            addCriterion("v.drawee <", value, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeLessThanOrEqualTo(String value) {
            addCriterion("v.drawee <=", value, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeLike(String value) {
            addCriterion("v.drawee like", value, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeNotLike(String value) {
            addCriterion("v.drawee not like", value, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeIn(List<String> values) {
            addCriterion("v.drawee in", values, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeNotIn(List<String> values) {
            addCriterion("v.drawee not in", values, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeBetween(String value1, String value2) {
            addCriterion("v.drawee between", value1, value2, "drawee");
            return (Criteria) this;
        }

        public Criteria andDraweeNotBetween(String value1, String value2) {
            addCriterion("v.drawee not between", value1, value2, "drawee");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountIsNull() {
            addCriterion("v.payment_amount is null");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountIsNotNull() {
            addCriterion("v.payment_amount is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountEqualTo(String value) {
            addCriterion("v.payment_amount =", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountNotEqualTo(String value) {
            addCriterion("v.payment_amount <>", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountGreaterThan(String value) {
            addCriterion("v.payment_amount >", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountGreaterThanOrEqualTo(String value) {
            addCriterion("v.payment_amount >=", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountLessThan(String value) {
            addCriterion("v.payment_amount <", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountLessThanOrEqualTo(String value) {
            addCriterion("v.payment_amount <=", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountLike(String value) {
            addCriterion("v.payment_amount like", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountNotLike(String value) {
            addCriterion("v.payment_amount not like", value, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountIn(List<String> values) {
            addCriterion("v.payment_amount in", values, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountNotIn(List<String> values) {
            addCriterion("v.payment_amount not in", values, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountBetween(String value1, String value2) {
            addCriterion("v.payment_amount between", value1, value2, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andPaymentAmountNotBetween(String value1, String value2) {
            addCriterion("v.payment_amount not between", value1, value2, "paymentAmount");
            return (Criteria) this;
        }

        public Criteria andNoteIsNull() {
            addCriterion("v.note is null");
            return (Criteria) this;
        }

        public Criteria andNoteIsNotNull() {
            addCriterion("v.note is not null");
            return (Criteria) this;
        }

        public Criteria andNoteEqualTo(String value) {
            addCriterion("v.note =", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotEqualTo(String value) {
            addCriterion("v.note <>", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThan(String value) {
            addCriterion("v.note >", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThanOrEqualTo(String value) {
            addCriterion("v.note >=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThan(String value) {
            addCriterion("v.note <", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThanOrEqualTo(String value) {
            addCriterion("v.note <=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLike(String value) {
            addCriterion("v.note like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotLike(String value) {
            addCriterion("v.note not like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteIn(List<String> values) {
            addCriterion("v.note in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotIn(List<String> values) {
            addCriterion("v.note not in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteBetween(String value1, String value2) {
            addCriterion("v.note between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotBetween(String value1, String value2) {
            addCriterion("v.note not between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andThePayeeIsNull() {
            addCriterion("v.the_payee is null");
            return (Criteria) this;
        }

        public Criteria andThePayeeIsNotNull() {
            addCriterion("v.the_payee is not null");
            return (Criteria) this;
        }

        public Criteria andThePayeeEqualTo(String value) {
            addCriterion("v.the_payee =", value, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeNotEqualTo(String value) {
            addCriterion("v.the_payee <>", value, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeGreaterThan(String value) {
            addCriterion("v.the_payee >", value, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeGreaterThanOrEqualTo(String value) {
            addCriterion("v.the_payee >=", value, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeLessThan(String value) {
            addCriterion("v.the_payee <", value, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeLessThanOrEqualTo(String value) {
            addCriterion("v.the_payee <=", value, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeLike(String value) {
            addCriterion("v.the_payee like", value, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeNotLike(String value) {
            addCriterion("v.the_payee not like", value, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeIn(List<String> values) {
            addCriterion("v.the_payee in", values, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeNotIn(List<String> values) {
            addCriterion("v.the_payee not in", values, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeBetween(String value1, String value2) {
            addCriterion("v.the_payee between", value1, value2, "thePayee");
            return (Criteria) this;
        }

        public Criteria andThePayeeNotBetween(String value1, String value2) {
            addCriterion("v.the_payee not between", value1, value2, "thePayee");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIsNull() {
            addCriterion("v.payment_time is null");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIsNotNull() {
            addCriterion("v.payment_time is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeEqualTo(String value) {
            addCriterion("v.payment_time =", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotEqualTo(String value) {
            addCriterion("v.payment_time <>", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThan(String value) {
            addCriterion("v.payment_time >", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeGreaterThanOrEqualTo(String value) {
            addCriterion("v.payment_time >=", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThan(String value) {
            addCriterion("v.payment_time <", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLessThanOrEqualTo(String value) {
            addCriterion("v.payment_time <=", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeLike(String value) {
            addCriterion("v.payment_time like", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotLike(String value) {
            addCriterion("v.payment_time not like", value, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeIn(List<String> values) {
            addCriterion("v.payment_time in", values, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotIn(List<String> values) {
            addCriterion("v.payment_time not in", values, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeBetween(String value1, String value2) {
            addCriterion("v.payment_time between", value1, value2, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andPaymentTimeNotBetween(String value1, String value2) {
            addCriterion("v.payment_time not between", value1, value2, "paymentTime");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationIsNull() {
            addCriterion("s.amount_cancel_verification is null");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationIsNotNull() {
            addCriterion("s.amount_cancel_verification is not null");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationEqualTo(String value) {
            addCriterion("v.amount_cancel_verification =", value, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationNotEqualTo(String value) {
            addCriterion("v.amount_cancel_verification <>", value, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationGreaterThan(String value) {
            addCriterion("v.amount_cancel_verification >", value, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationGreaterThanOrEqualTo(String value) {
            addCriterion("v.amount_cancel_verification >=", value, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationLessThan(String value) {
            addCriterion("v.amount_cancel_verification <", value, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationLessThanOrEqualTo(String value) {
            addCriterion("v.amount_cancel_verification <=", value, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationLike(String value) {
            addCriterion("v.amount_cancel_verification like", value, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationNotLike(String value) {
            addCriterion("v.amount_cancel_verification not like", value, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationIn(List<String> values) {
            addCriterion("v.amount_cancel_verification in", values, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationNotIn(List<String> values) {
            addCriterion("v.amount_cancel_verification not in", values, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationBetween(String value1, String value2) {
            addCriterion("v.amount_cancel_verification between", value1, value2, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andAmountCancelVerificationNotBetween(String value1, String value2) {
            addCriterion("v.amount_cancel_verification not between", value1, value2, "amountCancelVerification");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("v.create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("v.create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(String value) {
            addCriterion("v.create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(String value) {
            addCriterion("v.create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(String value) {
            addCriterion("v.create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("v.create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(String value) {
            addCriterion("v.create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(String value) {
            addCriterion("v.create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLike(String value) {
            addCriterion("v.create_time like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotLike(String value) {
            addCriterion("v.create_time not like", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<String> values) {
            addCriterion("v.create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<String> values) {
            addCriterion("v.create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(String value1, String value2) {
            addCriterion("v.create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(String value1, String value2) {
            addCriterion("v.create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNull() {
            addCriterion("v.del_state is null");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNotNull() {
            addCriterion("v.del_state is not null");
            return (Criteria) this;
        }

        public Criteria andDelStateEqualTo(Integer value) {
            addCriterion("v.del_state =", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotEqualTo(Integer value) {
            addCriterion("v.del_state <>", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThan(Integer value) {
            addCriterion("v.del_state >", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("v.del_state >=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThan(Integer value) {
            addCriterion("v.del_state <", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThanOrEqualTo(Integer value) {
            addCriterion("v.del_state <=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateIn(List<Integer> values) {
            addCriterion("v.del_state in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotIn(List<Integer> values) {
            addCriterion("v.del_state not in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateBetween(Integer value1, Integer value2) {
            addCriterion("v.del_state between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotBetween(Integer value1, Integer value2) {
            addCriterion("v.del_state not between", value1, value2, "delState");
            return (Criteria) this;
        }
    }

    /**
     *  * wb_voucher
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * wb_voucher null
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}